package com.member.shop.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.member.shop.domain.SysBizWriteOff;

/**
 * 核销Mapper接口
 *
 * @author lixinchen
 * @date 2024-11-05
 */
public interface SysBizWriteOffMapper extends BaseMapper<SysBizWriteOff>
{
    /**
     * 查询核销
     *
     * @param id 核销主键
     * @return 核销
     */
    public SysBizWriteOff selectSysBizWriteOffById(Long id);

    /**
     * 查询核销列表
     *
     * @param sysBizWriteOff 核销
     * @return 核销集合
     */
    public List<SysBizWriteOff> selectSysBizWriteOffList(SysBizWriteOff sysBizWriteOff);

    /**
     * 新增核销
     *
     * @param sysBizWriteOff 核销
     * @return 结果
     */
    public int insertSysBizWriteOff(SysBizWriteOff sysBizWriteOff);

    /**
     * 修改核销
     *
     * @param sysBizWriteOff 核销
     * @return 结果
     */
    public int updateSysBizWriteOff(SysBizWriteOff sysBizWriteOff);

    /**
     * 删除核销
     *
     * @param id 核销主键
     * @return 结果
     */
    public int deleteSysBizWriteOffById(Long id);

    /**
     * 批量删除核销
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysBizWriteOffByIds(Long[] ids);
}